package com.pt25.service.sys.domain.admin.service;

import com.pt25.base.util.PageUtil;
import com.pt25.service.sys.domain.admin.ddo.AdminRole;

import java.util.List;
import java.util.Set;

public interface AdminRoleService {
    void addAdminRole(AdminRole adminRole);

    void delAdminRole(Long id);

    void updateAdminRole(AdminRole adminRole);

    AdminRole getAdminRole(Long id);

    List<AdminRole> getAdminRolesByUserId(Long userId);

    Set<Long> getRoleIdsByUserId(Long userId);

    PageUtil.PageVo pageAdminRole(AdminRole adminRole);
}
